<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script>

</script>
<body>
   <input type="text" name="mohu">

  <table border="1">
      <tr>
          <td>区域</td>
          <td>房屋单价</td>
          <td>户型</td>
          <td>面积</td>
          <td>房屋朝向</td>
          <td>房屋标题</td>
          <td>房屋描述</td>
          <td>经度</td>
          <td>纬度</td>
          <td>房屋状态</td>
          <td>房屋类型</td>
      </tr>
      <tr th:each="li:${list}">
          <td th:text="${li.NewHouseArea}"></td>
          <td th:text="${li.NewHousePrice}"></td>
          <td>
              <span th:if="${li.NewHomeType}==0">
                  一居室
              </span>
              <span th:if="${li.NewHomeType}==1">
                  二居室
              </span>
              <span th:if="${li.NewHomeType}==2">
                  三居室
              </span>
              <span th:if="${li.NewHomeType}==3">
                  四居室
              </span>
              <span th:if="${li.NewHomeType}==4">
                  五居室以上
              </span>
          </td>
          <td th:text="${li.NewHouseAcreage}"></td>
          <td>
              <span th:if="${li.NewHouseOrientation==0}">
                 东
              </span>
              <span th:if="${li.NewHouseOrientation==1}">
                 南
              </span>
              <span th:if="${li.NewHouseOrientation==2}">
                  西
              </span>
              <span th:if="${li.NewHouseOrientation==4}">
                 北
              </span>
          </td>
          <td th:text="${li.NewHouseTitle}"></td>
          <td th:text="${li.NewHouseDescription}"></td>
          <td th:text="${li.NewHouseLongitude}"></td>
          <td th:text="${li.NewHouseLatitude}"></td>
          <td th:text="${li.NewHouseState}==0?'在售':(${li.newHomeType}==2?'代售':'售完')"></td>
          <td th:text="${li.newHomeType}==0?'别墅':(${li.newHomeType}==2?'住宅':'写字楼')")>

          </td>
      </tr>
  </table>
</body>
<script>

</script>
</html>